import { VideoType } from "./video-type"
import { getVideoType } from "./videos"

export interface Video {
  title: string
  type: VideoType
}

export class RegularVideo implements Video {
  title: string
  type: VideoType

  constructor(title: string, type: VideoType) {
    this.title = title;
    this.type = type
  }
}

export class ChildrensVideo implements Video {
  title: string
  type: VideoType

  constructor(title: string, type: VideoType) {
    this.title = title;
    this.type = type
  }
}